import { Component, OnInit, Input, Output, EventEmitter, } from '@angular/core';

@Component({
  selector: 'app-input-child',
  templateUrl: './input-child.component.html',
  styleUrls: ['./input-child.component.less']
})
export class InputChildComponent implements OnInit {
  @Output() delete = new EventEmitter();
  value: any;
  constructor() { }

  ngOnInit(): void { }
  logChild() {
    console.log("输出：", this.value);
  }
  deleteEmit() {
    this.delete.emit();
  }
}
